<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.physics.matrices&rdquo;</title>
        </head>
        <body><h1 class="module">Module s.p.matrices</h1><span id="part">Part of <a href="sympy.physics.html">sympy.physics</a></span><div class="toplevel"><div><p>Known matrices related to physics</p>
</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.physics.matrices.msigma">msigma</a></td><td><div><p>Returns a Pauli matrix sigma_i. i=1,2,3</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.physics.matrices.mgamma">mgamma</a></td><td><div><p>Returns a Dirac gamma matrix gamma^mu in the standard</p>
</div></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.physics.matrices.msigma">msigma(i):</a></div>
            <div class="functionBody"><div><p>Returns a Pauli matrix sigma_i. i=1,2,3 See also: 
http://en.wikipedia.org/wiki/Pauli_matrices</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.physics.matrices.mgamma">mgamma(mu, lower=False):</a></div>
            <div class="functionBody"><div><p>Returns a Dirac gamma matrix gamma^mu in the standard (Dirac) 
representation.</p>
<p>If you want gamma_mu, use gamma(mu, True).</p>
<p>We use a convention:</p>
<p>gamma^5 = I * gamma^0 * gamma^1 * gamma^2 * gamma^3 gamma_5 = I * 
gamma_0 * gamma_1 * gamma_2 * gamma_3 = - gamma^5</p>
<p>See also:</p>
<p>http://en.wikipedia.org/wiki/Gamma_matrices</p>
</div></div>
            </div></body>
        